<template>
  <view>
    <web-view v-if="wvUrl" :src="wvUrl"></web-view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      wvUrl: '',
    };
  },
  onLoad() {
    const userInfo = uni.getStorageSync("userInfo") || {};
    const userid = userInfo.data ? userInfo.data.userid : userInfo.userid;
    this.wvUrl = `/minePages/payH5?userid=${encodeURIComponent(userid)}`;
  },
};
</script>

<style></style>
